@import '../../../assets/styles/mixins';

.slider {
  overflow: hidden;
  width: 100%;
  height: 325px;
  flex-wrap: nowrap;
  margin: 0 auto;
  display: flex;
  justify-content: center;

  @include respond-to(small) {
    height: 250px;
  }

  &__row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: center;
    margin: 0 auto;
    transition: .5s;
    width: max-content;

    div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: #fff;
      border-radius: 16px;
      text-transform: uppercase;
      color: #000 !important;
      font-weight: 300;
      font-size: 14px;
      height: 250px;
      width: 336px;
      padding: 0;
      margin: 0;
      box-shadow: 0 43.4826px 60.8756px rgba(11, 5, 35, 0.2);
      transform: translateX(-50%);

      @include respond-to(small) {
        height: 190px;
      }

      &:nth-child(2) {
        margin: 0 400px;
        transform: translateX(0);
      }

      &:last-child {
        transform: translateX(50%);
      }

      b {
        margin-top: 10px;
        font-size: 36px;
        color: #000 !important;
        display: block;
        font-weight: bold;
      }
    }
  }

  &__dots {
    padding: 0;
    margin: -30px 0 30px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;

    li {
      display: block;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      transition: .3s;
      background: #283346;

      @include respond-to(small) {
        width: 10px;
        height: 10px;
      }

      &.--active {
        background: #06A5FF;
      }

      &:nth-child(2) {
        margin: 0 20px;
        @include respond-to(small) {
          margin: 0 15px;
        }
      }
    }
  }
}

:host-context(body.dark) {
  .slider {
    &__row {
      div {
        background: #140d28;
        color: #fff;

        b {
          color: #02F48E !important;
        }
      }
    }

    &__dots {
      li {
        background: #140d28;

        &.--active {
          background: #7500f5;
        }
      }
    }
  }
}




